﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administration/Admin.Master" AutoEventWireup="true"
    CodeBehind="Profile.aspx.cs" Inherits="QuickDev.Web.App.Administration.Profile" %>

<%@ MasterType VirtualPath="~/Administration/Admin.Master" %>
<%@ Register Assembly="QuickDev.ServerControls" Namespace="QuickDev.ServerControls"
    TagPrefix="QuickDev" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <QuickDev:Panel ID="pnlProfile" runat="server">
        <QuickDev:Label ID="lblLoginName" runat="server" CssClass="label" /><br />
        <asp:TextBox ID="txtLoginName" runat="server" CssClass="textbox" />&nbsp;
        <QuickDev:HelpLink ID="hlLoginNameHelp" runat="server" NavigateUrl="javascript:void(0);" />
        <br />
        <br />
        <QuickDev:Label ID="lblDisplayName" runat="server" CssClass="label" /><br />
        <asp:TextBox ID="txtDisplayName" runat="server" CssClass="textbox" />&nbsp;
        <QuickDev:HelpLink ID="hlDisplayNameHelp" runat="server" NavigateUrl="javascript:void(0);" />
        <br />
        <br />
        <div class="verticalalign">
            <QuickDev:Label ID="lblEmail" runat="server" CssClass="label" />&nbsp;
            <QuickDev:HelpLink ID="hlEmailHelp" runat="server" NavigateUrl="javascript:void(0);" />
            <br />
        </div>
        <asp:TextBox ID="txtEmail" runat="server" CssClass="longtextbox" />
        <br />
        <br />
        <QuickDev:Label ID="lblPhone" runat="server" CssClass="label" /><br />
        <asp:TextBox ID="txtPhone" runat="server" CssClass="textbox" />&nbsp;
        <QuickDev:HelpLink ID="hlPhoneHelp" runat="server" NavigateUrl="javascript:void(0);" />
        <br />
        <br />
        <QuickDev:Panel ID="OldPasswordPanel" runat="Server">
            <QuickDev:Label ID="lblPassword" runat="server" CssClass="label" /><br />
            <asp:TextBox ID="txtPassword" runat="server" CssClass="textbox" />&nbsp;
            <QuickDev:HelpLink ID="hlPasswordHelp" runat="server" NavigateUrl="javascript:void(0);" />
            <br />
            <br />
        </QuickDev:Panel>
        <QuickDev:Label ID="lblNewPass" runat="server" CssClass="label" /><br />
        <asp:TextBox ID="txtNewPass" runat="server" CssClass="textbox" />&nbsp;
        <QuickDev:HelpLink ID="hlNewPassHelp" runat="server" NavigateUrl="javascript:void(0);" />
        <br />
        <br />
        <QuickDev:Label ID="lblConfirmPass" runat="server" CssClass="label" /><br />
        <asp:TextBox ID="txtConfirmPass" runat="server" CssClass="textbox" />&nbsp;
        <QuickDev:HelpLink ID="hlConfirmPassHelp" runat="server" NavigateUrl="javascript:void(0);" />
        <br />
        <br />
        <QuickDev:Button ID="btnSave" runat="server" OnClick="btnSave_Click" CssClass="modalbutton" />
        <QuickDev:RequiredFieldValidator ID="rfvLoginName" runat="server" Display="None"
            ControlToValidate="txtLoginName" />
        <QuickDev:RequiredFieldValidator ID="rfvDisplayName" runat="server" Display="None"
            ControlToValidate="txtDisplayName" />
        <QuickDev:RequiredFieldValidator ID="rfvEmailRequired" runat="server" Display="None"
            ControlToValidate="txtEmail" />
        <QuickDev:RequiredFieldValidator ID="rfvPhoneRequired" runat="server" Display="None"
            ControlToValidate="txtPhone" />
        <QuickDev:RequiredFieldValidator ID="rfvPassword" runat="server" Display="None" ControlToValidate="txtPassword" />
        <QuickDev:RequiredFieldValidator ID="rfvNewPass" runat="server" Display="None" ControlToValidate="txtNewPass" />
        <asp:RegularExpressionValidator ID="rfvEmail" runat="server" Display="None" ControlToValidate="txtEmail"
            ValidationExpression="[\w\.-]+(\+[\w-]*)?@([\w-]+\.)+[\w-]+" />
        <asp:RegularExpressionValidator ID="rfvPhone" runat="server" Display="None" ControlToValidate="txtPhone"
            ValidationExpression="(^(\d{2,4}[-_－—]?)?\d{3,8}([-_－—]?\d{3,8})?([-_－—]?\d{1,7})?$)|(^0?1[35]\d{9}$)" />
        <asp:CompareValidator ID="rfvConfirmPassword" runat="server" Display="None" ControlToValidate="txtConfirmPass"
            ControlToCompare="txtNewPass" />
    </QuickDev:Panel>
</asp:Content>
